package com.example.algorithm.no0337;

import lombok.Data;

/**
 * @author yumuhui <yumuhui@kuaishou.com>
 * Created on 2022-02-18
 */
@Data
public class TreeNode {

    public Integer val;
    public TreeNode left;
    public TreeNode right;

    public TreeNode(Integer val) {
        this.val = val;
    }

    public TreeNode(Integer val, TreeNode left, TreeNode right) {
        this.val = val;
        this.left = left;
        this.right = right;
    }
}
